
export interface Ilistparams {
  page: number,
  limit: number,
  status: 0 | 1 | '',
  role_name: string
}

export interface IlistResponse {
  id: number,
  role_name: string,
  rules: string,
  level: number,
  status: 0 | 1,
  statusLoading?: boolean
}

export interface ISaveRoleData {
  role_name: string
  status: 0 | 1
  checked_menus: number[]
}

export interface IRoleResponseMenu {
  pid: number
  id: number
  title: string
  expand: boolean
  children?: IRoleResponseMenu[]
}

export interface IResponseEditRole {
  id: number
  level: number
  role_name: string
  rules: string
  status: 0 | 1
}
